package basics;

public class OverRide extends OverLoad {
    @Override
    public void test(){
        System.out.println("重写父类test方法");
    }

    public Integer test(int i){
        System.out.println("重写父类test方法");
        return 1;
    }
    @Override
    public void test(double d){
        System.out.println("重写父类test方法");
    }
}
